package com.burry.action;


import com.burry.services.ManageMenuService;
import com.burry.util.MapList;

public class IndexAction extends BaseAction {
	
	private String menuStr = null;
	
	public String getMenuStr() {
		return menuStr;
	}

	public void setMenuStr(String menuStr) {
		this.menuStr = menuStr;
	}

	/**
	 * 获取管理首页登陆后需要的信息
	 * @return
	 */
	public String index(){
		//Debug.logInfo("init index");
		ManageMenuService menuService = new ManageMenuService();
		MapList menuList =  menuService.getMenuList();
		this.menuStr = menuService.getMenuStrFromML(menuList);
		return SUCCESS;
	}
}
